/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.squirrelm.my.domain;

import java.util.ArrayList;
import java.util.Date;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

/**
 *
 * @author 松鼠M
 */
@PersistenceCapable(detachable="true")
public class Jipiao {

    private static final long serialVersionUID = 12891203810L;

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long    id;

    @Persistent
    private Date                    fetchTime;

    @Persistent
    private ArrayList<Integer>    minPrice;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getFetchTime() {
        return fetchTime;
    }

    public void setFetchTime(Date fetchTime) {
        this.fetchTime = fetchTime;
    }

    public ArrayList<Integer> getMinPrice() {
        return minPrice;
    }

    public void setMinPrice(ArrayList<Integer> minPrice) {
        this.minPrice = minPrice;
    }

}
